import openpyxl

path = "sd.xlsx"
wb = openpyxl.load_workbook(path)  # 打开xlsl工作簿
ws = wb.active
